<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<!-- JSP脚本(脚本就是一段代码)：可以写任意的java代码 -->
	<%
		String name = "zhangsan";
	%>
	<!-- JSP表达式:在页面输出内容 -->
	<%=name%>
	<%
		for (int i = 1; i <= 6; i++) {
	%>
			<h<%=i%>>标题<%=i%></h<%=i%>>
	<%
		}
	%>
</body>
</html>